<template>
  <div class="purchase-record">
    <div class="item">
      <div class="left">
        <p class="title">「视频」新手魔方底棱归位</p>
        <p class="time">2018.11.13 15:24</p>
      </div>
      <div class="right">40.00元</div>
    </div>
    <div class="item">
      <div class="left">
        <p class="title">「音频」魔方底棱-魔方大师吴德教...吴德教...吴德教...</p>
        <p class="time">2018.11.13 15:24</p>
      </div>
      <div class="right">40.00元</div>
    </div>
  </div>
</template>

<script>

  export default {
    components: {
    },
    data () {
      return {
      }
    },
    created () {
    },
    methods: {
    }
  }
</script>

<style lang="stylus" scoped>
.purchase-record
  width 100%
  height 100vh
  background-color #f5f5f5
  .item
    display flex
    height 7rem
    background-color #fff
    padding 0 1.6rem
    border-bottom 1px solid #e6e6e6
    &:last-child
      border none
    .left
      flex 3
      .title
        font-size 1.5rem
        color #333
        overflow hidden
        white-space nowrap
        text-overflow ellipsis
        line-height 2rem
        height 2rem
        margin-bottom .4rem
        margin-top 1.5rem
        width 25rem
        margin-left -.8rem
      .time
        color #999
        font-size 1.2rem
        line-height 1.6rem
        height 1.6rem
    .right
      flex 1
      color #333
      font-weight bold
      font-size 1.5rem
      line-height 7rem
      text-align right
</style>
